<?php
/*
 * 前端模式 
 * http://new.com/php/deep/enterprise/front/index.php?cmd=test 正确url
 * http://new.com/php/deep/enterprise/front/index.php?cmd=test123 不正确去main.php
*/
function my_autoloader($class) {
    var_dump($class);
    include $class . '.php';
}
spl_autoload_register('my_autoloader');


WooController::run();